package com.digitalchina.lxnsy.entity;

import java.io.Serializable;
import java.util.List;

/**
 * ================================================
 * 项目名称：BigData
 * 类描述：
 * 包名：com.digitalchina.bigdata.entity
 * 创建人：郑皓
 * 创建时间：2018/8/31 18:46
 * 修改备注：
 * ================================================
 */
public class FarmAccountsVO implements Serializable {

    /**
     * id : 6b5f1c94-3fef-4472-9756-5104d7a2497a
     * createAt : 2018-08-31 18:20:16
     * createTime : 2018-08-31 18:20:16
     * updateAt : 2018-08-31 18:20:16
     * updateTime : 2018-08-31 18:20:16
     * status : 0
     * sort : 0
     * version : 0
     * productPlan : null
     * type : 1
     * accountType : {"id":"07486931-675a-438d-9f7d-046bb584665414","createAt":"2018-08-23 10:45:12","createTime":"2018-08-23 10:45:12","updateAt":"2018-08-23 10:45:15","updateTime":"2018-08-23 10:45:15","status":null,"sort":0,"version":0,"code":"700203","pcode":"700200","rcode":"700200","orderBy":"3","name":"人工费","namePinyin":"rengongfei","remark":null,"persistent":true,"entityId":"07486931-675a-438d-9f7d-046bb584665414"}
     * accountDate : 2018-08-31 00:00:00
     * money : 333
     * farmAccountDescImageList : [{"id":"31fc175a-e67f-4407-bf14-1e656257cf34","createAt":"2018-08-31 18:20:16","createTime":"2018-08-31 18:20:16","updateAt":"2018-08-31 18:20:16","updateTime":"2018-08-31 18:20:16","status":null,"sort":0,"version":0,"index":"1","image":"41c79165-2202-441a-822b-e8ba406eca9f","farmAccountId":"6b5f1c94-3fef-4472-9756-5104d7a2497a","persistent":true,"entityId":"31fc175a-e67f-4407-bf14-1e656257cf34"}]
     * remark : 12312321312312321
     * persistent : true
     * entityId : 6b5f1c94-3fef-4472-9756-5104d7a2497a
     */

    private String id;
    private String createAt;
    private String createTime;
    private String updateAt;
    private String updateTime;
    private int status;
    private int sort;
    private int version;
    private int img = 0;// 本地图片资源ID

    public int getImg() {
        return img;
    }

    public void setImg(int img) {
        this.img = img;
    }

    private Object productPlan;
    private int type;
    private AccountTypeBean accountType;
    private String accountDate;
    private int money;
    private String remark;
    private boolean persistent;
    private String entityId;

    public String getProductPlanId() {
        return productPlanId;
    }

    public void setProductPlanId(String productPlanId) {
        this.productPlanId = productPlanId;
    }

    private String productPlanId;
    private List<FarmAccountDescImageListBean> farmAccountDescImageList;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCreateAt() {
        return createAt;
    }

    public void setCreateAt(String createAt) {
        this.createAt = createAt;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateAt() {
        return updateAt;
    }

    public void setUpdateAt(String updateAt) {
        this.updateAt = updateAt;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getSort() {
        return sort;
    }

    public void setSort(int sort) {
        this.sort = sort;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public Object getProductPlan() {
        return productPlan;
    }

    public void setProductPlan(Object productPlan) {
        this.productPlan = productPlan;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public AccountTypeBean getAccountType() {
        return accountType;
    }

    public void setAccountType(AccountTypeBean accountType) {
        this.accountType = accountType;
    }

    public String getAccountDate() {
        return accountDate;
    }

    public void setAccountDate(String accountDate) {
        this.accountDate = accountDate;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public boolean isPersistent() {
        return persistent;
    }

    public void setPersistent(boolean persistent) {
        this.persistent = persistent;
    }

    public String getEntityId() {
        return entityId;
    }

    public void setEntityId(String entityId) {
        this.entityId = entityId;
    }

    public List<FarmAccountDescImageListBean> getFarmAccountDescImageList() {
        return farmAccountDescImageList;
    }

    public void setFarmAccountDescImageList(List<FarmAccountDescImageListBean> farmAccountDescImageList) {
        this.farmAccountDescImageList = farmAccountDescImageList;
    }

    public static class AccountTypeBean implements Serializable{
        /**
         * id : 07486931-675a-438d-9f7d-046bb584665414
         * createAt : 2018-08-23 10:45:12
         * createTime : 2018-08-23 10:45:12
         * updateAt : 2018-08-23 10:45:15
         * updateTime : 2018-08-23 10:45:15
         * status : null
         * sort : 0
         * version : 0
         * code : 700203
         * pcode : 700200
         * rcode : 700200
         * orderBy : 3
         * name : 人工费
         * namePinyin : rengongfei
         * remark : null
         * persistent : true
         * entityId : 07486931-675a-438d-9f7d-046bb584665414
         */

        private String id;
        private String createAt;
        private String createTime;
        private String updateAt;
        private String updateTime;
        private Object status;
        private int sort;
        private int version;
        private String code;
        private String pcode;
        private String rcode;
        private String orderBy;
        private String name;
        private String namePinyin;
        private Object remark;
        private boolean persistent;
        private String entityId;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCreateAt() {
            return createAt;
        }

        public void setCreateAt(String createAt) {
            this.createAt = createAt;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getUpdateAt() {
            return updateAt;
        }

        public void setUpdateAt(String updateAt) {
            this.updateAt = updateAt;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public Object getStatus() {
            return status;
        }

        public void setStatus(Object status) {
            this.status = status;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public int getVersion() {
            return version;
        }

        public void setVersion(int version) {
            this.version = version;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getPcode() {
            return pcode;
        }

        public void setPcode(String pcode) {
            this.pcode = pcode;
        }

        public String getRcode() {
            return rcode;
        }

        public void setRcode(String rcode) {
            this.rcode = rcode;
        }

        public String getOrderBy() {
            return orderBy;
        }

        public void setOrderBy(String orderBy) {
            this.orderBy = orderBy;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getNamePinyin() {
            return namePinyin;
        }

        public void setNamePinyin(String namePinyin) {
            this.namePinyin = namePinyin;
        }

        public Object getRemark() {
            return remark;
        }

        public void setRemark(Object remark) {
            this.remark = remark;
        }

        public boolean isPersistent() {
            return persistent;
        }

        public void setPersistent(boolean persistent) {
            this.persistent = persistent;
        }

        public String getEntityId() {
            return entityId;
        }

        public void setEntityId(String entityId) {
            this.entityId = entityId;
        }
    }

    public static class FarmAccountDescImageListBean implements Serializable{
        /**
         * id : 31fc175a-e67f-4407-bf14-1e656257cf34
         * createAt : 2018-08-31 18:20:16
         * createTime : 2018-08-31 18:20:16
         * updateAt : 2018-08-31 18:20:16
         * updateTime : 2018-08-31 18:20:16
         * status : null
         * sort : 0
         * version : 0
         * index : 1
         * image : 41c79165-2202-441a-822b-e8ba406eca9f
         * farmAccountId : 6b5f1c94-3fef-4472-9756-5104d7a2497a
         * persistent : true
         * entityId : 31fc175a-e67f-4407-bf14-1e656257cf34
         */

        private String id;
        private String createAt;
        private String createTime;
        private String updateAt;
        private String updateTime;
        private Object status;
        private int sort;
        private int version;
        private String index;
        private String image;
        private String farmAccountId;
        private boolean persistent;
        private String entityId;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getCreateAt() {
            return createAt;
        }

        public void setCreateAt(String createAt) {
            this.createAt = createAt;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getUpdateAt() {
            return updateAt;
        }

        public void setUpdateAt(String updateAt) {
            this.updateAt = updateAt;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public Object getStatus() {
            return status;
        }

        public void setStatus(Object status) {
            this.status = status;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public int getVersion() {
            return version;
        }

        public void setVersion(int version) {
            this.version = version;
        }

        public String getIndex() {
            return index;
        }

        public void setIndex(String index) {
            this.index = index;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getFarmAccountId() {
            return farmAccountId;
        }

        public void setFarmAccountId(String farmAccountId) {
            this.farmAccountId = farmAccountId;
        }

        public boolean isPersistent() {
            return persistent;
        }

        public void setPersistent(boolean persistent) {
            this.persistent = persistent;
        }

        public String getEntityId() {
            return entityId;
        }

        public void setEntityId(String entityId) {
            this.entityId = entityId;
        }
    }
}
